package com.wanxi.dangdang.model.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author wr
 * @date 20210830
 * @description 订单日志类
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "com.wanxi.dangdang.model.pojo.OrderLog",description = "订单日志类")
public class OrderLog {
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "操作人名称")
    private String adminName;
    @ApiModelProperty(value = "操作人ID（唯一标识）")
    private Long adminId;
    @ApiModelProperty(value = "订单号（订单唯一标识）")
    private Long orderId;
    @ApiModelProperty(value = "订单历史状态")
    private Integer oldStatus;
    @ApiModelProperty(value = "订单最新状态")
    private Integer newStatus;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "状态：0：未删除 1：已删除 （默认0）")
    private Integer deleteStatus;
}
